package com.yuanfengerp.goodsTypeInfo.servicer;

import com.yuanfengerp.goodsTypeInfo.model.ProductType;
import com.yuanfengerp.publicUtil.Result;

import java.util.List;
import java.util.Map;

public interface IProductTypeService {
    Result<Integer> insertProductType(com.yuanfengerp.goodsTypeInfo.model.ProductType productType);
    Result<List<ProductType>> selectProductType(Map<String ,Object> condition );
    Result<Integer> updateProductType(com.yuanfengerp.goodsTypeInfo.model.ProductType productType);
    Result<Integer> updateProductTypeById(com.yuanfengerp.goodsTypeInfo.model.ProductType productType);
}
